<?php /* Smarty version Smarty-3.1.21-dev, created on 2015-10-23 09:44:15
         compiled from "H:\WebApplication\myconpany\sumi_mobile\application\views\findpasswd\changepasswd.html" */ ?>
<?php /*%%SmartyHeaderCode:713956270a2d9879e9-11249797%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e8b633373208edb11d5b33f1b792b198da9cab4b' => 
    array (
      0 => 'H:\\WebApplication\\myconpany\\sumi_mobile\\application\\views\\findpasswd\\changepasswd.html',
      1 => 1445564644,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '713956270a2d9879e9-11249797',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.21-dev',
  'unifunc' => 'content_56270a2da98694_61679192',
  'variables' => 
  array (
    'codetime' => 0,
    'moblie' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_56270a2da98694_61679192')) {function content_56270a2da98694_61679192($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ((@constant('APPLICATION_PATH')).("/application/views/header.html"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>


<section class="wrap">
    <!--content stop-->
    <section class="login">
        <ul>
            <form method="post" target="_self" id="myForm" name="myForm"  action="/findpasswd/updatepasswd">
                <input type="hidden" name="codetime" value="<?php echo $_smarty_tpl->tpl_vars['codetime']->value;?>
">
                <input type="hidden" name="moblie" value="<?php echo $_smarty_tpl->tpl_vars['moblie']->value;?>
">
                <li><input class="login-text" type="password" value="" name="password" placeholder="请输入密码"/>
                    <span class="passwordmsg"></span>
                </li>
                <li><input class="login-text" type="password" value="" name="repassword" placeholder="请确认密码"/>
                    <span class="repasswordmsg"></span>
                </li>
                <li><input class="login-btn" type="button"  value="完成注册"/></li>
            </form>
        </ul>
    </section>

    <!--content end-->
    <?php echo $_smarty_tpl->getSubTemplate ((@constant('APPLICATION_PATH')).("/application/views/common/footerlogin.html"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>


</section>

<?php echo '<script'; ?>
 type="text/javascript">

    $(function(){
        $('.smxy').click(function(){
            $('.popup_smxy_bg').show();
            $('.popup_smxy').show();
        });

        $('.close_smxy').click(function(){
            $('.popup_smxy_bg').hide();
            $('.popup_smxy').hide();
        });
    });


    $(function(){
        var password = $("input[name=password]")
        var repassword =   $("input[name=repassword]");

        //下一步注册
        $('.login-btn').click(function(){
            if(codeEmpty(password,repassword) === false){
                return false;
            }else{
                document.myForm.submit();
            }
        });
    });


    function codeEmpty(password,repassword){
        var password = password.val();
        var repassword = repassword.val();
        if(password=='') {
            $('.passwordmsg').html("请输入密码！");
            return false;
        }else if(password !=repassword){
            $('.repasswordmsg').html("两次密码输入不一致！");
            return false;
        }else{
            $('.passwordmsg').html("");
            $('.repasswordmsg').html("");
            return true;
        }

    }
<?php echo '</script'; ?>
>

<div class="popup_smxy_bg"></div>

<?php echo $_smarty_tpl->getSubTemplate ((@constant('APPLICATION_PATH')).("/application/views/footer.html"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>


<?php }} ?>
